package com.example.chat.domain.entity;

import com.example.chat.domain.vo.MomentCommentVo;
import com.example.chat.domain.vo.UserNameVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PublicMoment {
    private Long id;
    private Long userId;
    private String icon;
    private String userName;
    private String context;
    private Integer visibility;
    private String imageUrls;
    private String file;
    private List<String> imgs;
    private String time;
    private List<UserNameVo> likes;
    private Integer likeCount = 0;
    private List<MomentCommentVo> comments;
    private Integer commentCount = 0;
    private boolean liked;
}